<!--* Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.** This program and the accompanying materials are made available under the* terms of the Eclipse Public License v1.0 which accompanies this distribution,* and is available at http://www.eclipse.org/legal/epl-v10.html--><div class="row-fluid" style="height:51px; background-color:#05171e;">    <ul class="nav nav-pills ng-scope" style="padding-top: 12px;">        <li class="active"><a href="" data-toggle="pill" ng-click="toggle('eline')">Elines</a></li>    </ul></div><div style="width:100%;height:516px;overflow:auto;overflow-x:hidden;">    <div>        <div class="row"             style="height:35px;font-family:'微软雅黑';font-size:16px;font-weight:bold;border:1px solid #bfbfbf;">            <span class="col-md-1">                <span class="blue pull-right"></span>            </span>            <label class="col-md-3" style="margin-top:5px;">{{ 'CreateEline' | translate }}</label>        </div>        <form class="form-group" ng-model="eline" name="elineform" style="margin-left:50px;margin-right:50px;">            <div class="row" style="margin-top:10px;">                <label class="col-md-2 ng-binding textLabel">{{ 'Name' | translate }}</label>                <input class="col-md-2 form-control inputText" type="text" ng-model="eline.name" name="elineName"                       tooltip="{{ 'string' | translate }}" required/>                <label class="errorlabel col-md-1">                </label>            </div>            <div class="row">                <label class="col-md-2 ng-binding textLabel">{{ 'Create Mode' | translate }}</label>                <select class="col-md-2 form-control selectDiv " ng-model="curPwType"                        ng-change="pwCreateType(curPwType)">                    <option ng-repeat="createType in pwCreateTypes">{{createType.id}}</option>                </select>                <label class="errorlabel col-md-1"></label>                <div ng-show="autoProtectShow">                    <label class="col-md-2 ng-binding textLabel">{{ 'Protection Type' | translate }}</label>                    <select class="col-md-2 form-control selectDiv " ng-model="curAutoType"                            ng-change="elineAutoCreateType(curAutoType)">                        <option ng-repeat="creType in pwAutoProctectTypes">{{creType.id}}</option>                    </select>                    <label class="errorlabel col-md-1"></label>                </div>            </div>            <div class="row"></div>            <div ng-repeat="ingress in eline['ingress-end-points']">                <div class="row">                    <span class="col-md-1">                        <span class="yellow pull-right"></span>                    </span>                    <span class="col-md-9 htext" style="border-bottom:solid 1px #000;">{{ 'Ingress End Points' | translate }}</span>                    <span class="col-md-2">           <button class=" tunnelButton plusIcon pull-right" type="button" tooltip="Add Ingress"                   ng-click="addIngress()"></button>           <button class="tunnelButton closeIcon pull-right" type="button" tooltip="Remove Ingress"                   ng-click="removeIngress($index)"></button>           </span>                </div>                <div id="ingress{{$index}}">                    <!--<div id="ingress{{$index}}">-->                    <div class="row">                        <label class="col-md-2 ng-binding textLabel">{{ 'Source Node' | translate }}</label>                        <!--ingress11111-->                        <div class="input-group col-md-2" style="width: 25%;float: left;">                            <input type="text" class="form-control ng-pristine ng-valid ng-touched ng-untouched"                                   style="color: black;" ng-model="ingress['node_userlabel']">                            <div ng-class="{'open':ingress['node_userlabel'],'input-group-btn':true}"                                 class="input-group-btn">                                <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"                                        aria-expanded="false">                                    <span class="caret" style="color: black;"></span>                                </button>                                <ul class="dropdown-menu pull-right" style="width: 248px;height: 133px;overflow: auto;">                                    <li ng-repeat="node in nodes | orderBy:'userlabel'" ng-click="getPortList($parent.$index,node,1)">                                        <a>{{node['userlabel']}}</a>                                    </li>                                </ul>                            </div>                        </div>                        <label class="errorlabel col-md-1"></label>                        <label class="col-md-1 ng-binding textLabel">{{ 'Port Number' | translate }}</label>                        <!---->                        <div class="input-group col-md-2" style="width: 25%;float: left;">                            <input type="text" class="form-control ng-pristine ng-valid ng-touched ng-untouched"                                   style="color: black;" ng-model="ingress['port_userlabel']">                            <div ng-class="{'open':ingress['port_userlabel'],'input-group-btn':true}"                                 class="input-group-btn">                                <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"                                        aria-expanded="false">                                    <span class="caret" style="color: black;"></span>                                </button>                                <ul class="dropdown-menu pull-right" style="width: 247px;height: 133px;overflow: auto;">                                    <li ng-repeat="port in portList | orderBy:'userlabel'" ng-click="selLtpId($parent.$index,port,1)">                                        <a>{{port['userlabel']}}</a>                                    </li>                                </ul>                            </div>                        </div>                        <!--ingress11111-->                    </div>                    <!--qos start-->                    <div class="row">                        <label class="col-md-2 ng-binding textLabel">CIR</label>                        <input class="col-md-2 form-control inputText" type="number"                               ng-model="eline.pw[$index].qos['qos-a2z-cir']" name="qos-a2z-cir"                               tooltip="{{ 'number' | translate }}" min="0"/>                        <label class="errorlabel col-md-1">                            <span style="color:grey;font-size:xx-small;font-weight:500;">kbps</span>                            <!-- <span class="error" ng-show="elineform.elineId.$error1.required">*</span> -->                        </label>                        <label class="col-md-2 ng-binding textLabel">CBS</label>                        <input class="col-md-2 form-control inputText" type="number"                               ng-model="eline.pw[$index].qos['qos-a2z-cbs']" name="qos-a2z-cbs"                               tooltip="{{ 'number' | translate }}" min="0"/>                        <label class="errorlabel col-md-1">                            <span style="color:grey;font-size:xx-small;font-weight:500;">Bytes</span>                        </label>                    </div>                    <div class="row">                        <label class="col-md-2 ng-binding textLabel">PIR</label>                        <input class="col-md-2 form-control inputText" type="number"                               ng-model="eline.pw[$index].qos['qos-a2z-pir']" ng-readonly=false name="qos-a2z-pir"                               tooltip="{{ 'number' | translate }}" min="0"/>                        <label class="errorlabel col-md-1">                            <span style="color:grey;font-size:xx-small;font-weight:500;">kbps</span>                        </label>                        <label class="col-md-2 ng-binding textLabel">PBS</label>                        <input class="col-md-2 form-control inputText" type="number"                               ng-model="eline.pw[$index].qos['qos-a2z-pbs']" ng-readonly=false name="qos-a2z-pbs"                               tooltip="{{ 'number' | translate }}" min="0"/>                        <label class="errorlabel col-md-1">                            <span style="color:grey;font-size:xx-small;font-weight:500;">Bytes</span>                        </label>                    </div>                    <div class="row" ng-show="eline.pw[$index].qos['qos-a2z-cir']<0 || eline.pw[$index].qos['qos-a2z-pir']<0 || eline.pw[$index].qos['qos-a2z-cir']>eline.pw[$index].qos['qos-a2z-pir']">                        <span class="col-md-1"></span>                        <span class="col-md-4 error" style="margin-left:4.5em">cir、pir必须为正整数，且cir不小于pir</span>                    </div>                    <!--qos end-->                    <div class="row">                        <label class="col-md-2 textLabel">业务提取动作</label>                        <select class="col-md-2 form-control selectDiv" ng-model="ingress['access-action']" ng-init="ingress['access-action']='Keep'">                            <option ng-repeat="act in acActionTypes">{{act.id}}</option>                        </select>                        <label class="errorlabel col-md-1"></label>                        <label class="col-md-2 textLabel">业务提取vlan</label>                        <input class="col-md-2 form-control inputText" name="indvb1" type="text" ng-model="ingress['action-vlan-id']" placeholder="默认为空，按需可修改" tooltip="取值范围：0~4094" ng-readonly="ingress['access-action']==='Keep'">                        <label class="col-md-2" align="left" style="margin-top: 6px;">                            <span class="error" ng-show="ingress['access-action']!=='Keep'&&(!ingress['action-vlan-id']||ingress['action-vlan-id']===null)">业务提取vlan不能为空</span>                            <span class="error" ng-show="ingress['action-vlan-id'].indexOf(',')===-1 && (ingress['action-vlan-id']>4094 || ingress['action-vlan-id']<0 || ingress['action-vlan-id'].indexOf('.')!==-1 || ingress['action-vlan-id'].indexOf('-')===0)">业务提取vlan必须是0~4094之间的正整数</span>                        </label>                        <!--                        <span class="col-md-6" align="center" style="margin-left: 10px"><span class="error" ng-show="ingress['action-vlan-id']>4094">{{ 'action-vlan-id number is 0-4094' | translate }}</span></span>                        <span class="col-md-6" align="center" style="margin-left: 10px"><span class="error" ng-show="ingress['access-action']!=='Keep'&&(!ingress['action-vlan-id']||ingress['action-vlan-id']===null)">业务提取vlan不能为空</span></span>                        -->                    </div>                    <div class="row">                        <label class="col-md-2 textLabel">{{ 'Dot1q Vlan Bitmap' | translate }}</label>                        <input class="col-md-2 form-control inputText" name="indvb111" type="text" ng-model="ingress['dot1q-vlan-bitmap']" placeholder="默认为空，按需可修改" tooltip="取值范围：0~4094">                        <label class="col-md-4" align="left" style="margin-top: 6px;">                            <span class="error" ng-show="ingress['dot1q-vlan-bitmap'].indexOf(',')===-1 && (ingress['dot1q-vlan-bitmap']>4094 || ingress['dot1q-vlan-bitmap']<0 || ingress['dot1q-vlan-bitmap'].indexOf('.')!==-1 || ingress['dot1q-vlan-bitmap'].indexOf('-')===0)">业务vlan必须是0~4094之间的正整数</span>                        </label>                        <!--                        <span class="col-md-6" align="center" style="margin-left: 10px"><span class="error" ng-show="ingress['dot1q-vlan-bitmap']>4094">{{ 'dot1q-vlan-bitmap number is 0-4094' | translate }}</span></span>                        -->                    </div>                </div>            </div>            <!--<button class="btn btn-default col-md-offset-11" ng-click="addPoints()">addIngress</button></br>-->            <div ng-repeat="egress in eline['egress-end-points']">                <div class="row">                    <span class="col-md-1">                        <span class="yellow pull-right"></span>                    </span>                    <span class="col-md-9 htext" style="border-bottom:solid 1px #000;">{{ 'Egress End Points' | translate }}</span>                    <span class="col-md-2">                       <button class=" tunnelButton plusIcon pull-right" type="button" tooltip="Add Egress"                               ng-click="addEgress()"></button>                       <button class="tunnelButton closeIcon pull-right" type="button" tooltip="Remove Egress"                               ng-click="removeEgress($index)"></button>                    </span>                </div>                <div id="egress{{$index}}">                    <div class="row">                        <label class="col-md-2 ng-binding textLabel">{{ 'Destination Node' | translate }}</label>                        <!--ingress11111-->                        <div class="input-group col-md-2" style="width: 25%;float: left;">                            <input type="text" class="form-control ng-pristine ng-valid ng-touched ng-untouched"                                   style="color: black;" ng-model="egress['node_userlabel']">                            <div ng-class="{'open':egress['node_userlabel'],'input-group-btn':true}" class="input-group-btn">                                <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">                                    <span class="caret" style="color: black;"></span>                                </button>                                <ul class="dropdown-menu pull-right" style="width: 248px;height: 133px;overflow: auto;">                                    <li ng-repeat="node in nodes | orderBy:'userlabel'" ng-click="getPortList($parent.$index,node,2)">                                        <a>{{node['userlabel']}}</a>                                    </li>                                </ul>                            </div>                        </div>                        <label class="errorlabel col-md-1"></label>                        <label class="col-md-1 ng-binding textLabel">{{ 'Port Number' | translate }}</label>                        <!---->                        <div class="input-group col-md-2" style="width: 25%;float: left;">                            <input type="text" class="form-control ng-pristine ng-valid ng-touched ng-untouched" style="color: black;" ng-model="egress['port_userlabel']">                            <div ng-class="{'open':egress['port_userlabel'],'input-group-btn':true}" class="input-group-btn">                                <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">                                    <span class="caret" style="color: black;"></span>                                </button>                                <ul class="dropdown-menu pull-right" style="width: 247px;height: 133px;overflow: auto;">                                    <li ng-repeat="port in portList | orderBy:'userlabel'" ng-click="selLtpId($parent.$index,port,2)">                                        <a>{{port['userlabel']}}</a>                                    </li>                                </ul>                            </div>                        </div>                        <!--ingress11111-->                    </div>                    <!--qos start-->                    <div class="row">                        <label class="col-md-2 ng-binding textLabel">CIR</label>                        <input class="col-md-2 form-control inputText" type="number"                               ng-model="eline.pw[$index].qos['qos-z2a-cir']" name="qos-z2a-cir"                               tooltip="{{ 'number' | translate }}" min="0"/>                        <label class="errorlabel col-md-1">                            <span style="color:grey;font-size:xx-small;font-weight:500;">kbps</span>                        </label>                        <label class="col-md-2 ng-binding textLabel">CBS</label>                        <input class="col-md-2 form-control inputText" type="number"                               ng-model="eline.pw[$index].qos['qos-z2a-cbs']" name="qos-z2a-cbs"                               tooltip="{{ 'number' | translate }}" min="0"/>                        <label class="errorlabel col-md-1">                            <span style="color:grey;font-size:xx-small;font-weight:500;">Bytes</span>                        </label>                    </div>                    <div class="row">                        <label class="col-md-2 ng-binding textLabel">PIR</label>                        <input class="col-md-2 form-control inputText" type="number"                               ng-model="eline.pw[$index].qos['qos-z2a-pir']" ng-readonly=false name="qos-z2a-pir"                               tooltip="{{ 'number' | translate }}" min="0"/>                        <label class="errorlabel col-md-1">                            <span style="color:grey;font-size:xx-small;font-weight:500;">kbps</span>                        </label>                        <label class="col-md-2 ng-binding textLabel">PBS</label>                        <input class="col-md-2 form-control inputText" type="number"                               ng-model="eline.pw[$index].qos['qos-z2a-pbs']" ng-readonly=false name="qos-z2a-pbs"                               tooltip="{{ 'number' | translate }}" min="0"/>                        <label class="errorlabel col-md-1">                            <span style="color:grey;font-size:xx-small;font-weight:500;">Bytes</span>                        </label>                    </div>                    <div class="row" ng-show="eline.pw[$index].qos['qos-z2a-cir']<0 || eline.pw[$index].qos['qos-z2a-pir']<0 || eline.pw[$index].qos['qos-z2a-cir']>eline.pw[$index].qos['qos-z2a-pir']">                        <span class="col-md-1"></span>                        <span class="col-md-4 error" style="margin-left:4.5em">cir、pir必须为正整数，且cir不小于pir</span>                    </div>                    <!--qos end-->                    <div class="row">                        <label class="col-md-2 textLabel">业务提取动作</label>                        <select class="col-md-2 form-control selectDiv" ng-model="egress['access-action']" ng-init="egress['access-action']='Keep'">                            <option ng-repeat="act in acActionTypes">{{act.id}}</option>                        </select>                        <label class="errorlabel col-md-1"></label>                        <label class="col-md-2 textLabel">业务提取vlan</label>                        <input class="col-md-2 form-control inputText" name="indvb11" type="text" ng-model="egress['action-vlan-id']" placeholder="默认为空，按需可修改" tooltip="取值范围：0~4094" ng-readonly="egress['access-action']==='Keep'">                        <label class="col-md-2" align="left" style="margin-top: 6px;">                            <span class="error" ng-show="egress['access-action']!=='Keep'&&(!egress['action-vlan-id']||egress['action-vlan-id']===null)">业务提取vlan不能为空</span>                            <span class="error" ng-show="egress['action-vlan-id'].indexOf(',')===-1 && (egress['action-vlan-id']>4094 || egress['action-vlan-id']<0 || egress['action-vlan-id'].indexOf('.')!==-1 || egress['action-vlan-id'].indexOf('-')===0)">业务提取vlan必须是0~4094之间的正整数</span>                        </label>                        <!--                        <span class="col-md-6" align="center" style="margin-left: 10px"><span class="error" ng-show="egress['action-vlan-id']>4094">{{ 'action-vlan-id number is 0-4094' | translate }}</span></span>                        <span class="col-md-6" align="center" style="margin-left: 10px"><span class="error" ng-show="egress['access-action']!=='Keep'&&(!egress['action-vlan-id']||egress['action-vlan-id']===null)">业务提取vlan不能为空</span></span>                        -->                    </div>                    <div class="row">                        <label class="col-md-2 textLabel">{{ 'Dot1q Vlan Bitmap' | translate }}</label>                        <input class="col-md-2 form-control inputText" name="indvb222" type="text" ng-model="egress['dot1q-vlan-bitmap']" placeholder="默认为空，按需可修改" tooltip="取值范围：0~4094">                        <label class="col-md-4" align="left" style="margin-top: 6px;">                            <span class="error" ng-show="egress['dot1q-vlan-bitmap'].indexOf(',')===-1 && (egress['dot1q-vlan-bitmap']>4094 || egress['dot1q-vlan-bitmap']<0 || egress['dot1q-vlan-bitmap'].indexOf('.')!==-1 || egress['dot1q-vlan-bitmap'].indexOf('-')===0)">业务vlan必须是0~4094之间的正整数</span>                        </label>                        <!--                        <span class="col-md-6" align="center" style="margin-left: 10px"><span class="error" ng-show="egress['dot1q-vlan-bitmap']>4094">{{ 'dot1q-vlan-bitmap number is 0-4094' | translate }}</span></span>                        -->                    </div>                </div>            </div>            <!-- auto pw OAM -->            <div class="row" ng-show="autoPwOamshow">                <span class="col-md-1">                    <span class="cyan pull-right"></span>                </span>                <span class="col-md-9 htext" style="border-bottom:solid 1px #000;">OAM</span>                <span class="col-md-2">                   <!-- <button  type="button" class="tunnelButton plusIcon inlineBlock col-md-1" ng-click="addElineOam($index)"></button> -->                   <button ng-click="addAutoOam()" tooltip="{{ 'add oam' | translate }}"                           class=" tunnelButton plusIcon pull-right" type="button"></button>                   <button class="tunnelButton closeIcon pull-right" tooltip="{{ 'delete oam' | translate }}"                           ng-click="removeAutoOam()"></button>                </span>            </div>            <div ng-show="addAutoOamshow" ng-model="autoOamData">                <div class="row">                    <label class="col-md-2 ng-binding textLabel">OAM Type</label>                    <select ng-model="curAutoOamType" class="col-md-2 form-control selectDiv"                            ng-change="autoOamTypeChange(curAutoOamType,$index)">                        <option ng-repeat="oamType in oamTypes">{{oamType.id}}</option>                    </select>                </div>                <div ng-show="autoCcShow">                    <div class="row">                        <label class="col-md-2 ng-binding textLabel">CC Exp</label>                        <select class="col-md-2 form-control selectDiv" ng-model="autoOamData['cc-exp']">                            <option value="AF1">AF1</option>                            <option value="AF2">AF2</option>                            <option value="AF3">AF3</option>                            <option value="AF4">AF4</option>                            <option value="BE">BE</option>                            <option value="EF">EF</option>                            <option value="CS6">CS6</option>                            <option value="CS7" selected="selected">CS7</option>                        </select>                        <label class="errorlabel col-md-1">                            <span class="error">*</span>                        </label>                        <label class="col-md-2 ng-binding textLabel">{{ 'CC Interval' | translate }}</label>                        <select class="col-md-2 form-control selectDiv" ng-model="autoOamData['cc-interval']">                            <option value="3.3" selected="selected">3.3ms</option>                            <option value="10">10ms</option>                            <option value="100">100ms</option>                            <option value="1000">1000ms</option>                        </select>                    </div>                    <div class="row">                        <label class="col-md-2 textLabel">{{ 'LM-Mode' | translate }}:</label>                        <select class="col-md-2 form-control selectDiv" ng-model="autoOamData['lm-mode']">                            <option value="disable" selected="selected">{{ 'disable' | translate }}</option>                            <option value="preactive">{{ 'preactive' | translate }}</option>                            <option value="on-demand">{{ 'on-demand' | translate }}</option>                        </select>                        <label class="errorlabel col-md-1"></label>                        <label class="col-md-2 textLabel"> {{ 'DM-Mode' | translate }}:</label>                        <!--select class="col-md-2 form-control selectDiv" ng-model="autoOamData['dm-mode']" ng-change="changeLtp($parent.$index,$index)"-->                        <select class="col-md-2 form-control selectDiv" ng-model="autoOamData['dm-mode']">                            <option value="disable" selected="selected">{{ 'disable' | translate }}</option>                            <option value="preactive">{{ 'preactive' | translate }}</option>                            <option value="on-demand">{{ 'on-demand' | translate }}</option>                        </select>                    </div>                </div>                <div ng-show="autoBfdShow">                    <div class="row">                        <label class="col-md-2 ng-binding textLabel">{{ 'LocalDetectMultiplier' | translate }}</label>                        <input class="col-md-2 form-control inputText" type="text"                               ng-model="autoOamData['localdetectmultiplier']" tooltip="default 3"/>                        <label class="errorlabel col-md-1"></label>                        <label class="col-md-2 ng-binding textLabel">{{ 'LocalTxinterval' | translate }}</label>                        <input class="col-md-2 form-control inputText" type="text"                               ng-model="autoOamData['localtxinterval']" tooltip="3000..1000000"/>                        <label class="errorlabel col-md-1"></label>                    </div>                </div>                <div class="row"></div>            </div>            <br/>            <!-- auto pw OAM end-->            <!--<button class="btn btn-default col-md-offset-11" ng-click="addPoints()">addEgress</button></br>-->            <div ng-show="autoCreateShow">                <!--protection-->                <div class="row">                    <span class="col-md-1">                        <span class="yellow pull-right"></span>                    </span>                    <span class="col-md-9 htext" style="border-bottom:solid 1px #000;">{{ 'Protection' | translate }}</span>                    <span class="col-md-2">                       <button class=" tunnelButton plusIcon pull-right" type="button" ng-click="addCProtection()"></button>                       <button class="tunnelButton closeIcon pull-right" tooltip="{{ 'delete protection' | translate }}"                               ng-click="removeCProtection()"></button>                    </span>                </div>                <div ng-show="protctionShow">                    <div class="row">                        <label class="col-md-2 ng-binding textLabel">{{ 'Linear protection type' | translate }}</label>                        <select class="col-md-2 form-control selectDiv"                                ng-model="eline.protection['linear-protection-type']">                            <option value="unprotected">{{ 'unprotected' | translate }}</option>                            <option value="path-protection-1-to-1">{{ 'path-protection-1-to-1' | translate }}</option>                            <option value="path-protection-1-plus-1">{{ 'path-protection-1-plus-1' | translate }}</option>                            <!--option value="unprotected-with-recovery">{{ 'unprotected-with-recovery' | translate }}</option>                              <option value="with-recovery-1-to-1">{{ 'with-recovery-1-to-1' | translate }}</option>                              <option value="with-recovery-1-plus-1">{{ 'with-recovery-1-plus-1' | translate }}</option>                              <option value="permanent-1-plus-1-peotectio">{{ 'permanent-1-plus-1-peotection' | translate }}</option-->                        </select>                        <label class="errorlabel col-md-1">                            <span class="error" ng-show="elineform['engressId'+$index].$error.required">*</span>                        </label>                        <label class="col-md-2 ng-binding textLabel">{{ 'Linear Protection Protocol' | translate                            }}</label>                        <select class="col-md-2 form-control selectDiv"                                ng-model="eline.protection['linear-protection-protocol']">                            <option value="APS">APS</option>                            <option value="PSC">PSC</option>                            <option value="NONE">NONE</option>                        </select>                        <label class="errorlabel col-md-1">                        </label>                    </div>                    <div class="row">                        <label class="col-md-2 ng-binding textLabel">{{ 'Revertive Mode' | translate }}</label>                        <select class="col-md-2 form-control selectDiv" ng-model="eline.protection['revertive-mode']">                            <option value="no-revertive">{{ 'no-revertive' | translate }}</option>                            <option value="revertive">{{ 'revertive' | translate }}</option>                        </select>                        <label class="errorlabel col-md-1"></label>                        <label class="col-md-2 ng-binding textLabel">WTR</label>                        <input class="col-md-2 form-control inputText" type="text" ng-model="eline.protection['wtr']"                               tooltip="{{ '5..12' | translate }}"/>                        <label class="errorlabel col-md-1">                            <span style="color:grey;font-size:xx-small;font-weight:500;">min</span>                        </label>                    </div>                    <!--     <div class="row">                         <label class="col-md-2 ng-binding textLabel">{{ 'Protection Create Type' | translate }}</label>                         <select class="col-md-2 form-control selectDiv" ng-model="curProType" ng-change="selProtectType(curProType)">                                   <option ng-repeat="proType in proTypes">{{proType.id}}</option>                         </select>                         <label class="errorlabel col-md-1"></label>                     </div> -->                </div>                <!--protection End-->                <div class="row"></div>                <!--pw start-->                <div ng-repeat="pw in eline.pw">                    <div class="row">                        <span class="col-md-1">                            <span class="yellow pull-right"></span>                        </span>                        <span class="htext col-md-9" style="border-bottom:solid 1px #000;">PW</span>                        <span class="col-md-2">                            <button id="btn-pw{{$index}}" type="button" class="tunnelButton expandIconArrowDown pull-right"                                    ng-click="toggle('pw'+$index)"></button>                            <button class="tunnelButton closeIcon pull-right" tooltip="{{ 'delete pw' | translate }}"                                    ng-click="removePw($index)"></button>                        </span>                    </div>                    <div id="pw{{$index}}" class="collapse">                        <div class="row">                            <label class="col-md-2 ng-binging textLabel">{{ 'Role' | translate }}</label>                            <select class="col-md-2 form-control selectDiv" ng-model="pw['role']">                                <option value="master" selected="selected">{{ 'master' | translate }}</option>                                <option value="slave">{{ 'slave' | translate }}</option>                            </select>                            <label class="errorlabel col-md-1"></label>                            <label class="col-md-2 ng-binding textLabel">{{ 'Name' | translate }}</label>                            <input class="col-md-2 form-control inputText" type="text" ng-model="pw.name" name="pwname"                                   tooltip="{{ 'string' | translate }}" required/>                            <label class="errorlabel col-md-1">                                <span class="error" ng-show="elineform.pwname.$error.required">*</span>                            </label>                        </div>                        <div class="row">                            <label class="col-md-2 ng-binding textLabel">{{ 'User Label' | translate }}</label>                            <input class="col-md-2 form-control inputText" type="text" ng-model="pw['user-label']"                                   name="pwuserlabel" tooltip="{{ 'string' | translate }}" required/>                            <label class="errorlabel col-md-1">                                <span class="error">*</span>                            </label>                            <label class="col-md-2 ng-binding textLabel">{{ 'Ingress NE ID' | translate }}</label>                            <select class="col-md-2 form-control selectDiv" ng-model="pw['ingress-ne-id']">                                <option value=""></option>                                <option ng-repeat="node in nodes | orderBy:'userlabel'" value="{{node.id}}">{{node['userlabel']}}</option>                            </select>                        </div>                        <div class="row">                            <label class="col-md-2 ng-binding textLabel">{{ 'Egress NE ID' | translate }}</label>                            <select class="col-md-2 form-control selectDiv " ng-model="pw['egress-ne-id']">                                <option value=""></option>                                <option ng-repeat="node in nodes | orderBy:'userlabel'" value="{{node.id}}">{{node['userlabel']}}</option>                            </select>                            <label class="errorlabel col-md-1"></label>                            <label class="col-md-2 ng-binding textLabel">{{ 'Source IP' | translate }}</label>                            <input readonly="readonly" class="col-md-2 form-control inputText" type="text"                                   ng-model="pw['source-ip']" tooltip="ip"                                   ng-pattern="/^((25[0-5]|2[0-4]\d|[01]?\d\d?)($|(?!\.$)\.)){4}$/"                                   name="sip{{$index}}"/>                        </div>                        <div class="row">                            <span class="error col-md-6" ng-show="elineform['sip'+$index].$invalid">Please input correct IP address</span>                        </div>                        <div class="row">                            <label class="col-md-2 ng-binding textLabel">{{ 'Destination IP' | translate }}</label>                            <input readonly="readonly" class="col-md-2 form-control inputText" type="text"                                   ng-model="pw['destination-ip']" tooltip="ip"                                   ng-pattern="/^((25[0-5]|2[0-4]\d|[01]?\d\d?)($|(?!\.$)\.)){4}$/"                                   name="dip{{$index}}"/>                            <span class="error col-md-1" ng-show="elineform['dip'+$index].$invalid">{{ 'Please input correct IP address' | translate }}</span>                            <label class="errorlabel col-md-1"></label>                            <label class="errorlabel col-md-1"></label>                        </div>                        <!--div class="row" ng-show="tunnelId['createType'] == 'Manually Create'"-->                        <div class="row" ng-show="baseTunnelIdShow">                            <label class="col-md-2 ng-binding textLabel">{{ 'Tunnel IDs' | translate }}</label>                            <div class="col-md-6">                                <div ng-repeat="tunnelId in pw['tunnel-ids']">                                    <div class="row">                                        <select class="form-control" ng-model="tunnelId['tunnel-id']"                                                style="display:inline;width:50%;">                                            <option ng-repeat="tunnelId in tunnelIds">{{tunnelId}}</option>                                        </select>                                        <button class="tunnelButton closeIcon"                                                ng-click="removeTunnel($parent.$index,$index)"></button>                                        <button class="tunnelButton plusIcon " ng-click="addTunnelId($parent.$index)"                                                ng-show="$last"></button>                                    </div>                                </div>                            </div>                        </div>                        <!--OAM-->                        <div class="row">                            <span class="col-md-1">                                <span class="cyan pull-right"></span>                            </span>                            <span class="col-md-9 htext" style="border-bottom:solid 1px #000;">OAM</span>                            <span class="col-md-2">                               <!-- <button  type="button" class="tunnelButton plusIcon inlineBlock col-md-1" ng-click="addElineOam($index)"></button> -->                               <button ng-click="addElineOam($index)" class=" tunnelButton plusIcon pull-right" type="button"></button>                               <button class="tunnelButton closeIcon pull-right" tooltip="{{ 'delete oam' | translate }}"                                       ng-click="removeElineOam($index)"></button>                            </span>                        </div>                        <div ng-show="elineOamshow[$index]">                            <div class="row">                                <label class="col-md-2 ng-binding textLabel">OAM Type</label>                                <select ng-model="curOamType" class="col-md-2 form-control selectDiv"                                        ng-change="oamTypeChange(curOamType,$index)">                                    <option ng-repeat="oamType in oamTypes">{{oamType.id}}</option>                                </select>                            </div>                            <div ng-show="ccShow{{$index}}">                                <div class="row">                                    <label class="col-md-2 ng-binding textLabel">CC Exp</label>                                    <select class="col-md-2 form-control selectDiv" ng-model="pw.oam['cc-exp']">                                        <option value="AF1">AF1</option>                                        <option value="AF2">AF2</option>                                        <option value="AF3">AF3</option>                                        <option value="AF4">AF4</option>                                        <option value="BE">BE</option>                                        <option value="EF">EF</option>                                        <option value="CS6">CS6</option>                                        <option value="CS7" selected="selected">CS7</option>                                    </select>                                    <label class="errorlabel col-md-1">                                        <span class="error" ng-show="elineform.pwid.$error.required">*</span>                                    </label>                                    <label class="col-md-2 ng-binding textLabel">{{ 'CC Interval' | translate }}</label>                                    <select class="col-md-2 form-control selectDiv" ng-model="pw.oam['cc-interval']">                                        <option value="3.3" selected="selected">3.3ms</option>                                        <option value="10">10ms</option>                                        <option value="100">100ms</option>                                        <option value="1000">1000ms</option>                                        <!-- option value="10000">10000ms</option>                                             <option value="60000">60000ms</option>                                             <option value="600000">600000ms</option -->                                    </select>                                </div>                                <div class="row">                                    <label class="col-md-2 textLabel">{{ 'LM-Mode' | translate }}:</label>                                    <select class="col-md-2 form-control selectDiv" ng-model="pw['oam']['lm-mode']">                                        <option value="disable" selected="selected">{{ 'disable' | translate }}</option>                                        <option value="preactive">{{ 'preactive' | translate }}</option>                                        <option value="on-demand">{{ 'on-demand' | translate }}</option>                                    </select>                                    <label class="errorlabel col-md-1"></label>                                    <label class="col-md-2 textLabel"> {{ 'DM-Mode' | translate }}:</label>                                    <select class="col-md-2 form-control selectDiv" ng-model="pw['oam']['dm-mode']"                                            ng-change="changeLtp($parent.$index,$index)">                                        <option value="disable" selected="selected">{{ 'disable' | translate }}</option>                                        <option value="preactive">{{ 'preactive' | translate }}</option>                                        <option value="on-demand">{{ 'on-demand' | translate }}</option>                                    </select>                                </div>                            </div>                            <div ng-show="bfdShow{{$index}}">                                <div class="row">                                    <label class="col-md-2 ng-binding textLabel">LocalTxinterval</label>                                    <input class="col-md-2 form-control inputText" type="text" tooltip="3000..1000000"                                           ng-model="pw['oam']['localtxinterval']"/>                                    <label class="errorlabel col-md-1"></label>                                    <label class="col-md-2 ng-binding textLabel">ttl</label>                                    <input class="col-md-2 form-control inputText" type="text" tooltip="default 255"                                           ng-model="pw['oam']['ttl']"/>                                    <label class="errorlabel col-md-1"></label>                                </div>                            </div>                            <div class="row"></div>                        </div>                        <!--OAM End-->                        <!--XC-->                        <div ng-show="xcListShow">                            <div ng-repeat="xc in pw.route[0].xc">                                <div class="row">                                    <span class="col-md-1">                                        <span class="cyan pull-right"></span>                                    </span>                                    <span class="htext col-md-9" style="border-bottom:solid 1px #000;">XC</span>                                    <span class="col-md-2">                                        <button id="btn-xc{{$parent.$index+''+$index}}" type="button"                                                class="tunnelButton expandIconArrowDown pull-right"                                                ng-click="toggle('xc'+$parent.$index+$index)"></button>                                        <button class="tunnelButton closeIcon pull-right" tooltip="{{ 'delete xc' | translate }}"                                                ng-click="removeXc($parent.$index,$index)"></button>                                    </span>                                </div>                                <div id="xc{{$parent.$index+''+$index}}" class="collapse">                                    <div class="row">                                        <label class="col-md-2 textLabel">{{ 'NE' | translate }} ID:</label>                                        <select class="col-md-2 form-control selectDiv" ng-model="xc['ne-id']"                                                ng-change="changeLtp($parent.$index,$index)">                                            <option ng-repeat="node in nodes | orderBy:'userlabel'" value="{{node.id}}">{{node['userlabel']}}</option>                                        </select>                                        <label class="errorlabel col-md-1"></label>                                        <label class="col-md-2 textLabel">{{ 'Ingress Port' | translate }}:</label>                                        <select class="col-md-2 form-control selectDiv" ng-model="xc['ingress-ltp-id']">                                            <option></option>                                            <option ng-repeat="port in ports[$parent.$index][$index] | orderBy:'userlabel' | filter:{id:'!local'}"                                                    value="{{port.id.split(':')[2]}}">{{port['userlabel']}}</option>                                        </select>                                    </div>                                    <div class="row">                                        <label class="col-md-2 textLabel">{{ 'Egress Port' | translate }}:</label>                                        <select class="col-md-2 form-control selectDiv" ng-model="xc['egress-ltp-id']">                                            <option></option>                                            <option ng-repeat="port in ports[$parent.$index][$index] | orderBy:'userlabel' | filter:{id:'!local'}"                                                    value="{{port.id.split(':')[2]}}">{{port['userlabel']}}</option>                                        </select>                                        <label class="errorlabel col-md-1"></label>                                        <label class="col-md-2 textLabel">{{ 'Backward Peer ID' | translate }}:</label>                                        <input class="col-md-2 form-control inputText" type="text"                                               ng-model="xc['backward-peer-id']"/>                                    </div>                                    <div class="row">                                        <label class="col-md-2 textLabel">{{ 'Forward Peer ID' | translate }}:</label>                                        <input class="col-md-2 form-control inputText" type="text" ng-model="xc['forward-peer-id']"/>                                    </div>                                </div>                            </div>                        </div>                        <button class="btn btn-default col-md-offset-11 addxc" ng-click="addXc($index)"></button>                        </br>                    </div>                </div>                <!--pw end-->                <button class="btn btn-default col-md-offset-11" ng-click="addPw()">{{ 'add Pw' | translate }}</button>            </div>            <!-- 路径策略 -->            <div class="row" ng-show="routeStrategyShow">                <span class="col-md-1">                    <span class="yellow pull-right"></span>                </span>                <span class="col-md-9 htext" style="border-bottom:solid 1px #000;">{{ 'Route Strategy' | translate }}</span>                <span class="col-md-2">                    <button type="button" class="tunnelButton expandIconArrowDown pull-right" ng-click="toggleRoute()"></button>                </span>            </div>            <div class="row" ng-show="addRouteXcShow">                <button class="btn btn-warning btn-xs pull-right" ng-click="addSlaveRouteXc()"                        style="height: 25px;width: 90px;font-weight:800;">{{ 'Add SlaveXc' | translate }}                </button>                <button class="btn btn-warning btn-xs pull-right" ng-click="addMasterRouteXc()"                        style="height: 25px;width: 90px;font-weight:800;">{{ 'Add MasterXc' | translate }}                </button>            </div>            <br/>            <!-- auto XCList -->            <div ng-show="xcListShow">                <div ng-show="xcMasterShow" ng-repeat="extXc in extMasterXcList">                    <div class="row">                        <span class="col-md-1">                            <span class="cyan pull-right"></span>                        </span>                        <span class="htext col-md-9" style="border-bottom:solid 1px #000;">{{ 'Master XC' | translate }}-{{$index+1}}</span>                        <span class="col-md-2">                            <button class="tunnelButton closeIcon pull-right" tooltip="{{ 'delete master xc' | translate }}"                                    ng-click="removeMasterRouteXc($index)"></button>                            <button type="button" class="tunnelButton expandIconArrowDown pull-right"                                    ng-click="expandMasterXC($index)"></button>                        </span>                    </div>                    <!--div id="xc{{$parent.$index+''+$index}}" class="collapse"-->                    <div ng-show="extXc['show']">                        <div class="row">                            <label class="col-md-2 textLabel">{{ 'NE ID' | translate }}:</label>                            <select class="col-md-2 form-control selectDiv" ng-model="extXc['ne-id']"                                    ng-change="changeMasterNode($index)">                                <option ng-repeat="node in extNodeList" value="{{node.id}}">{{node['userlabel']}}</option>                            </select>                            <label class="errorlabel col-md-1"></label>                        </div>                        <!-- Master XC start -->                        <div class="row">                            <label class="col-md-2 textLabel">{{ 'Source Ext-Link' | translate }}:</label>                            <select class="col-md-2 form-control selectDiv" ng-model="extXc['srcLinkId']"                                    ng-change="changeMasterSrcExtLink($index)">                                <option ng-repeat="link in extLinkList | orderBy:'user-label' | filter:{id:extXc['ne-id']}" value="{{link.id}}">{{link['user-label']}}</option>                            </select>                            <label class="errorlabel col-md-1"></label>                            <label class="col-md-2 textLabel">{{ 'Dest Ext-Link' | translate }}:</label>                            <select class="col-md-2 form-control selectDiv" ng-model="extXc['desLinkId']"                                    ng-change="changeMasterDesExtLink($index)">                                <option ng-repeat="link in extLinkList | orderBy:'user-label' | filter:{id:extXc['ne-id']}" value="{{link.id}}">{{link['user-label']}}</option>                            </select>                            <label class="errorlabel col-md-1"></label>                        </div>                        <div class="row">                            <div>                                <label class="col-md-2 textLabel">{{ 'In-label' | translate }}:</label>                                <input class="col-md-2 form-control inputText" type="text"                                       ng-readonly="srcMasterExtLinkShow{{$index}}" tooltip="{{ 'number' | translate }}"                                       ng-model="extXc['forward-in-label']" min="0"/>                                <label class="errorlabel col-md-1"></label>                            </div>                            <div>                                <label class="col-md-2 textLabel">{{ 'In-label' | translate }}:</label>                                <input class="col-md-2 form-control inputText" type="text"                                       ng-readonly="desMasterExtLinkShow{{$index}}" tooltip="{{ 'number' | translate }}"                                       ng-model="extXc['backward-in-label']" min="0"/>                                <label class="errorlabel col-md-1"></label>                            </div>                        </div>                        <div class="row">                            <div>                                <label class="col-md-2 textLabel">{{ 'Out-label' | translate }}:</label>                                <input class="col-md-2 form-control inputText" type="text"                                       ng-readonly="srcMasterExtLinkShow{{$index}}" tooltip="{{ 'number' | translate }}"                                       ng-model="extXc['backward-out-label']" min="0"/>                                <label class="errorlabel col-md-1"></label>                            </div>                            <div>                                <label class="col-md-2 textLabel">{{ 'Out-label' | translate }}:</label>                                <input class="col-md-2 form-control inputText" type="text"                                       ng-readonly="desMasterExtLinkShow{{$index}}" tooltip="{{ 'number' | translate }}"                                       ng-model="extXc['forward-out-label']" min="0"/>                                <label class="errorlabel col-md-1"></label>                            </div>                        </div>                        <div class="row">                            <div>                                <label class="col-md-2 textLabel">{{ 'Vlan' | translate }}:</label>                                <input class="col-md-2 form-control inputText" type="number"                                       ng-readonly="srcMasterExtLinkShow{{$index}}" tooltip="{{ 'number' | translate }}"                                       ng-model="extXc['ingress-vlan']" min="0"/>                                <label class="errorlabel col-md-1"></label>                            </div>                            <div>                                <label class="col-md-2 textLabel">{{ 'Vlan' | translate }}:</label>                                <input class="col-md-2 form-control inputText" type="number"                                       ng-readonly="desMasterExtLinkShow{{$index}}" tooltip="{{ 'number' | translate }}"                                       ng-model="extXc['egress-vlan']" min="0"/>                                <label class="errorlabel col-md-1"></label>                            </div>                        </div>                        <div class="row">                            <div>                                <label class="col-md-2 textLabel">{{ 'PW-label' | translate }}:</label>                                <input class="col-md-2 form-control inputText" type="text"                                       ng-readonly="srcMasterExtLinkShow{{$index}}" tooltip="{{ 'number' | translate }}"                                       ng-model="extXc['src-pw-label']" min="0"/>                                <label class="errorlabel col-md-1"></label>                            </div>                            <div>                                <label class="col-md-2 textLabel">{{ 'PW-label' | translate }}:</label>                                <input class="col-md-2 form-control inputText" type="text"                                       ng-readonly="desMasterExtLinkShow{{$index}}" tooltip="{{ 'number' | translate }}"                                       ng-model="extXc['des-pw-label']" min="0"/>                                <label class="errorlabel col-md-1"></label>                            </div>                        </div>                    </div>                </div>                <!-- Master XC Source Ext-Link end -->                <br/>                <div ng-show="xcSlaveshow" ng-repeat="extXc2 in extSlaveXcList">                    <div class="row">                        <span class="col-md-1">                            <span class="cyan pull-right"></span>                        </span>                        <span class="htext col-md-9" style="border-bottom:solid 1px #000;">{{ 'Slave XC' | translate }}-{{$index+1}}</span>                        <span class="col-md-2">                            <button class="tunnelButton closeIcon pull-right" tooltip="{{ 'delete slave xc' | translate }}"                                    ng-click="removeSlaveRouteXc($index)"></button>                            <button id="btn-xc{{$parent.$index+''+$index}}" type="button"                                    class="tunnelButton expandIconArrowDown pull-right"                                    ng-click="expandSlaveXC($index)"></button>                        </span>                    </div>                    <!--div id="xc{{$parent.$index+''+$index}}" class="collapse"-->                    <div ng-show="extXc2['show']">                        <div class="row">                            <label class="col-md-2 textLabel">{{ 'NE ID' | translate }}:</label>                            <select class="col-md-2 form-control selectDiv" ng-model="extXc2['ne-id']"                                    ng-change="changeSlaveNode($index)">                                <option ng-repeat="node in extNodeList" value="{{node.id}}">{{node['userlabel']}}</option>                            </select>                            <label class="errorlabel col-md-1"></label>                        </div>                        <!-- Slave XC Source Ext-Link start -->                        <div class="row">                            <label class="col-md-2 textLabel">{{ 'Source Ext-Link' | translate }}:</label>                            <select class="col-md-2 form-control selectDiv" ng-model="extXc2['srcLinkId']"                                    ng-change="changeSlaveSrcExtLink($index)">                                <option ng-repeat="link in extLinkList | orderBy:'user-label'" value="{{link.id}}">{{link['user-label']}}</option>                            </select>                            <label class="errorlabel col-md-1"></label>                            <label class="col-md-2 textLabel">{{ 'Dest Ext-Link' | translate }}:</label>                            <select class="col-md-2 form-control selectDiv" ng-model="extXc2['desLinkId']"                                    ng-change="changeSlaveDesExtLink($index)">                                <option ng-repeat="link in extLinkList | orderBy:'user-label'" value="{{link.id}}">{{link['user-label']}}</option>                            </select>                            <label class="errorlabel col-md-1"></label>                        </div>                        <div class="row">                            <div>                                <label class="col-md-2 textLabel">{{ 'In-label' | translate }}:</label>                                <input class="col-md-2 form-control inputText" type="text"                                       ng-readonly="srcSlaveExtLinkShow{{$index}}" tooltip="{{ 'number' | translate }}"                                       ng-model="extXc2['forward-in-label']" min="0"/>                                <label class="errorlabel col-md-1"></label>                            </div>                            <div>                                <label class="col-md-2 textLabel">{{ 'In-label' | translate }}:</label>                                <input class="col-md-2 form-control inputText" type="text"                                       ng-readonly="desSlaveExtLinkShow{{$index}}" tooltip="{{ 'number' | translate }}"                                       ng-model="extXc2['backward-in-label']" min="0"/>                                <label class="errorlabel col-md-1"></label>                            </div>                        </div>                        <div class="row">                            <div>                                <label class="col-md-2 textLabel">{{ 'Out-label' | translate }}:</label>                                <input class="col-md-2 form-control inputText" type="text"                                       ng-readonly="srcSlaveExtLinkShow{{$index}}" tooltip="{{ 'number' | translate }}"                                       ng-model="extXc2['backward-out-label']" min="0"/>                                <label class="errorlabel col-md-1"></label>                            </div>                            <div>                                <label class="col-md-2 textLabel">{{ 'Out-label' | translate }}:</label>                                <input class="col-md-2 form-control inputText" type="text"                                       ng-readonly="desSlaveExtLinkShow{{$index}}" tooltip="{{ 'number' | translate }}"                                       ng-model="extXc2['forward-out-label']" min="0"/>                                <label class="errorlabel col-md-1"></label>                            </div>                        </div>                        <div class="row">                            <div>                                <label class="col-md-2 textLabel">{{ 'Vlan' | translate }}:</label>                                <input class="col-md-2 form-control inputText" type="number"                                       ng-readonly="srcSlaveExtLinkShow{{$index}}" tooltip="{{ 'number' | translate }}"                                       ng-model="extXc2['ingress-vlan']" min="0"/>                                <label class="errorlabel col-md-1"></label>                            </div>                            <div>                                <label class="col-md-2 textLabel">{{ 'Vlan' | translate }}:</label>                                <input class="col-md-2 form-control inputText" type="number"                                       ng-readonly="desSlaveExtLinkShow{{$index}}" tooltip="{{ 'number' | translate }}"                                       ng-model="extXc2['egress-vlan']" min="0"/>                                <label class="errorlabel col-md-1"></label>                            </div>                        </div>                        <div class="row">                            <div>                                <label class="col-md-2 textLabel">{{ 'PW-label' | translate }}:</label>                                <input class="col-md-2 form-control inputText" type="text"                                       ng-readonly="srcSlaveExtLinkShow{{$index}}" tooltip="{{ 'number' | translate }}"                                       ng-model="extXc2['src-pw-label']" min="0"/>                                <label class="errorlabel col-md-1"></label>                            </div>                            <div>                                <label class="col-md-2 textLabel">{{ 'PW-label' | translate }}:</label>                                <input class="col-md-2 form-control inputText" type="text"                                       ng-readonly="desSlaveExtLinkShow{{$index}}" tooltip="{{ 'number' | translate }}"                                       ng-model="extXc2['des-pw-label']" min="0"/>                                <label class="errorlabel col-md-1"></label>                            </div>                        </div>                    </div>                    <!-- Slave XC end -->                </div>                <!-- auto XCList end -->            </div>            <!-- 路径策略 end -->            </br>            <!--button class="btn btn-default" ng-click="createEline(eline)" ng-disabled="elineform.$invalid || eline['egress-end-points'][0]['dot1q-vlan-bitmap']>4096 || eline['ingress-end-points'][0]['dot1q-vlan-bitmap']>4096">{{ 'createEline' | translate }}</button -->            <button class="btn btn-default pull-right" ng-click="createEline(eline)">{{ 'createEline' | translate }}</button>        </form>        <div class="modal fade" id="testDevModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">            <div class="modal-dialog" style="width:75%">                <form class="form-group ng-pristine ng-valid-pattern ng-valid ng-valid-required"                      name="elinesuccessform">                    <div class="modal-content" style="background-color:#EBECF1">                        <div class="modal-header">                            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>                            <div class="modal-title" id="myModalLabel" style="text-align: center;">                                <h4 class="ng-binding">创建业务成功！！是否开启设备自检？</h4>                            </div>                        </div>                        <div class="modal-body" style="text-align: center;">                            <p style="font-size: smaller;">自检后，会出现业务检测的连通性、时延等指标的简易报告。</p>                            <br>                            <div class="row" style="margin-left: 65px;">                                <label class="col-md-2 textLabel">是否使能y1564</label>                                <select class="col-md-2 form-control selectDiv" ng-model="enableY1564" ng-init="enableY1564='0'" ng-change="changeY1564(enableY1564)">                                    <option value="0">请选择</option>                                    <option value="1">是</option>                                    <option value="2">否</option>                                </select>                                <label class="errorlabel col-md-2"></label>                                <label class="col-md-2 textLabel" ng-show="enableProShow">使能项目</label>                                <select class="col-md-2 form-control selectDiv" ng-model="enablePro" ng-init="enablePro='0'" ng-show="enableProShow" ng-change="changeY1564Pro(enablePro, $index)">                                    <option value="0">请选择</option>                                    <option ng-repeat="pro in enableProList" value="{{pro['value']}}">{{pro['id']}}</option>                                </select>                                <label class="errorlabel col-md-2"></label>                            </div>                            <!--y1564 start-->                            <div style="margin-left: 80px;">                                <br>                                <!--config test start-->                                <div ng-show="yconfigTestShow">                                    <div class="row">                                        <span class="col-md-1">                                            <span class="cyan pull-right"></span>                                        </span>                                        <span class="htext col-md-9" align="left" style="border-bottom:solid 1px #000;">{{ 'Config Test' | translate }}</span>                                        <span class="col-md-2"></span>                                    </div>                                    <!--配置测试 start-->                                    <div class="row">                                        <label class="col-md-2 textLabel">测试步长</label>                                        <input type="number" class="col-md-2 form-control inputText"                                               ng-model="yyy1564.cfg.period" min="0" ng-init="yyy1564.cfg.period=30">                                        <label class="errorlabel col-md-2"><span style="color:grey;font-size:xx-small;font-weight:500;">s</span></label>                                        <label class="col-md-2 textLabel">模式</label>                                        <select class="col-md-2 form-control selectDiv" ng-model="yyy1564.cfg.mode" ng-init="yyy1564.cfg.mode='overload'">                                            <option value="overload">overload</option>                                            <option value="cir">cir</option>                                            <option value="eir">eir</option>                                        </select>                                    </div>                                    <div class="row">                                        <label class="col-md-2 textLabel">报文模式</label>                                        <select class="col-md-2 form-control selectDiv" ng-model="yyy1564.cfg.pktsizepattern" ng-init="yyy1564.cfg.pktsizepattern='fixed'">                                            <option value="fixed">固定帧长</option>                                            <option value="random">可变帧长</option>                                        </select>                                        <label class="errorlabel col-md-2"></label>                                        <label class="col-md-2 textLabel">cir步数</label>                                        <select class="col-md-2 form-control selectDiv" ng-model="yyy1564.cfg.step" ng-init="yyy1564.cfg.step='4'">                                            <option value="1">1</option>                                            <option value="2">2</option>                                            <option value="3">3</option>                                            <option value="4">4</option>                                        </select>                                    </div>                                    <div class="row">                                        <label class="col-md-2 textLabel" ng-show="yyy1564.cfg.pktsizepattern==='fixed'">报文长度</label>                                        <label class="col-md-2 textLabel" ng-show="yyy1564.cfg.pktsizepattern==='random'">最大报文长度</label>                                        <input type="number" class="col-md-2 form-control inputText" ng-model="yyy1564.cfg.pktsize" min="64" max="9600" ng-init="yyy1564.cfg.pktsize=9600">                                        <label class="errorlabel col-md-2"><span style="color:grey;font-size:xx-small;font-weight:500;">kbps</span></label>                                        <label class="col-md-2 textLabel">是否立即开启</label>                                        <select class="col-md-2 form-control selectDiv" ng-model="yyy1564.cfg.start"                                                ng-init="yyy1564.cfg.start='true'">                                            <option value="true">是</option>                                            <option value="false">否</option>                                        </select>                                    </div>                                    <div class="row">                                        <label class="col-md-2 textLabel">环回设备mac</label>                                        <input type="text" class="col-md-2 form-control inputText" ng-model="yyy1564.cfg.destmac" name="cfgmac" ng-pattern="/^[A-F0-9]{2}(:[A-F0-9]{2}){5}$/">                                        <label class="col-md-3" style="margin-top: 7px;" align="left"><span class="error" ng-show="elinesuccessform.cfgmac.$invalid && !elinesuccessform.cfgmac.$pristine">请输入正确的mac地址</span></label>                                    </div>                                    <!--配置测试 end-->                                </div>                                <!--config test end-->                                <br/>                                <!--pm test start-->                                <div ng-show="ypmTestShow">                                    <div class="row">                                        <span class="col-md-1">                                            <span class="cyan pull-right"></span>                                        </span>                                        <span class="htext col-md-9" align="left" style="border-bottom:solid 1px #000;">{{ 'Performance Test' | translate }}</span>                                        <span class="col-md-2"></span>                                    </div>                                    <!--性能测试 start-->                                    <div class="row">                                        <label class="col-md-2 textLabel">测试时长</label>                                        <input type="text" class="col-md-2 form-control inputText" ng-model="yyy1564.pm.life" ng-init="yyy1564.pm.life='无限'">                                        <label class="errorlabel col-md-2"><span style="color:grey;font-size:xx-small;font-weight:500;">h</span></label>                                        <label class="col-md-2 textLabel">带宽</label>                                        <input type="number" class="col-md-2 form-control inputText" ng-model="yyy1564.pm.bandwidth" min="1" max="1024" value="{{pmBandwidthModal}}">                                        <label class="errorlabel col-md-2"><span style="color:grey;font-size:xx-small;font-weight:500;">Mbps</span></label>                                    </div>                                    <div class="row">                                        <label class="col-md-2 textLabel">报文模式</label>                                        <select class="col-md-2 form-control selectDiv" ng-model="yyy1564.pm.pktsizepattern" ng-init="yyy1564.pm.pktsizepattern='fixed'">                                            <option value="fixed">固定帧长</option>                                            <option value="random">可变帧长</option>                                        </select>                                        <label class="errorlabel col-md-2"></label>                                        <label class="col-md-2 textLabel">是否立即开启</label>                                        <select class="col-md-2 form-control selectDiv" ng-model="yyy1564.pm.start" ng-init="yyy1564.pm.start='true'">                                            <option value="true">是</option>                                            <option value="false">否</option>                                        </select>                                    </div>                                    <div class="row">                                        <label class="col-md-2 textLabel" ng-show="yyy1564.pm.pktsizepattern==='fixed'">报文长度</label>                                        <label class="col-md-2 textLabel" ng-show="yyy1564.pm.pktsizepattern==='random'">最大报文长度</label>                                        <input type="number" class="col-md-2 form-control inputText" ng-model="yyy1564.pm.pktsize" min="64" max="9600" ng-init="yyy1564.pm.pktsize=9600">                                        <label class="errorlabel col-md-2"><span style="color:grey;font-size:xx-small;font-weight:500;">kbps</span></label>                                    </div>                                    <div class="row">                                        <label class="col-md-2 textLabel">环回设备mac</label>                                        <input type="text" class="col-md-2 form-control inputText" ng-model="yyy1564.pm.destmac" name="pmmac" ng-pattern="/^[A-F0-9]{2}(:[A-F0-9]{2}){5}$/">                                        <label class="col-md-3" style="margin-top: 7px;" align="left"><span class="error" ng-show="elinesuccessform.pmmac.$invalid && !elinesuccessform.pmmac.$pristine">请输入正确的mac地址</span></label>                                    </div>                                    <!--性能测试 end-->                                </div>                                <!--pm test end-->                            </div>                            <br>                            <div class="row" align="center">                                <button type="button" class="btn btn-default" data-dismiss="modal" aria-hidden="true" ng-click="stateLoad()">取消</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;                                <button type="button" class="btn btn-default" data-dismiss="modal" aria-hidden="true" ng-click="createModalY1564(yyy1564)">确定</button>                            </div>                            <!--y1564 end-->                        </div>                        <!--                        <div class="modal-footer" style="text-align: center;">                            <button type="button" class="btn btn-default ng-binding" ng-disabled="true"                                    disabled="disabled">是</button>                            <button type="button" class="btn btn-default ng-binding" data-dismiss="modal"                                    aria-hidden="true" ng-click="stateLoad()">否</button>                        </div>                        -->                    </div>                    <!-- /.modal-content -->                </form>            </div>        </div>    </div></div>